/*
 * @Date: 2023-06-20 18:15:44
 * @作者: 七星玉蘅
 * @邮箱: 1532250426@qq.com
 * @LastEditTime: 2023-06-28 08:25:14
 * @FilePath: \kaifamiao\client\src\router\index.js
 */
import { createRouter, createWebHashHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
import test from '@/views/test'
import test2 from '@/views/test2'
import phb from '@/views/phb'

const routes = [
  // {
  //   path: '/',
  //   name: 'home',
  //   component: HomeView
  // },
  // {
  //   path: '/test',
  //   name: 'test',
  //   component: test
  // },
  {
    path: '/',
    name: 'test2',
    component: test2
  },
  {
    path: '/phb',
    name: 'phb',
    component: phb
  },
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
